<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<meta charset="UTF-8">
<title>SSO-sys2</title>

</head>
<body>
<h1>欢迎来到 sso-sys2 </h1>
<h2>**********首页**********</h2>
<p th:unless="${session.loginUser==null}">
  <span style="color:deepskyblue;" th:text="${session.loginUser.uname}"></span> 已登录
</p>
<a th:if="${session.loginUser==null}" href="https://login.sso.com:8080/page/login?target=https://sys1.sso.com:8081/index">登录</a>
<a th:unless="${session.loginUser==null}" href="/loginOut">退出</a>
</body>
</html>